local tblDKP = { }

function SNFDKP_AddDKP(arg)

	SNFDEBUG(2,"SnFDKP: Add DKP! ("..arg..")")
	ModifyPlayerDKP(UnitName("player"), 1)
	SNFDEBUG(2,"SnFDKP: DKP for "..UnitName("player").." is "..GetPlayerDKP(UnitName("player")))
end


bVarsLoaded = false
--[[
function AddPlayer(name)

	if tblDKP[name] == nil then
		tblDKP[name] = 0
	end
	if tblItems[name] == nil then
		tblItems[name] = { }
	end
	if tblBiS[name] == nil then
		tblBiS[name] = { }
	end
end

function GetPlayerDKP(name)

	if tblDKP[name] == nil then
		return 0
	else
		return tblDKP[name]
	end
end

function ModifyPlayerDKP(name, value)

	if tblDKP[name] == nil then
		tblDKP[name] = value
	else
		tblDKP[name] = tblDKP[name] + value
	end
end

]]